package jf.jextn.converter;

public class IntegerConveter extends NumberConverter<Integer> {
    public final static IntegerConveter INSTANCE = new IntegerConveter();

    @Override
    protected Integer from(String value, int radix) {
        return Integer.valueOf(value, radix);
    }

    @Override
    protected String to(Integer value, int radix) {
        return Integer.toString(value.intValue(), radix);
    }

}
